package org.yn.user.mapper;

import org.apache.ibatis.annotations.Param;
import org.yn.base.mapper.IBaseMapper;
import org.yn.user.domain.Logininfo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yn
 * @since 2023-08-26
 */
public interface LogininfoMapper extends IBaseMapper<Logininfo> {

    Logininfo selectByAccount(@Param("account")String account, @Param("type")Integer type);

    Logininfo selectByOpenid(String openid);

    Logininfo loadByUserId(Long id);
}
